package cn.kongwg.es.service;

import cn.kongwg.es.entity.JBook;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * @author kongwg
 * @create 2021-04-02 19:05
 */
public interface JBookService {

    boolean addBooksToEs(String keyword,String page);

    List<Map<String,Object>> getBooks(String keyword) throws IOException;
}
